package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

type DanceGameConfig struct {
	Id        int64          `json:"id" gorm:"primaryKey;autoIncrement;comment:id"`
	LoveOpen  int64          `json:"loveOpen" gorm:"column:love_open;type:int;default:0;not null;comment:是否开启"`
	Versions  string         `json:"versions" gorm:"column:versions;type:text;not null;comment:版本"`
	CreatedAt time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}

type GameConfig struct {
	LoveOpen int64 `json:"loveOpen"` // 是否开启
}

const Default = "default"
